#include <reg51.h>

sbit IO = P3^4;
sbit CE = P3^5;
sbit CLK = P3^6;


unsigned char ds1302_read_byte(unsigned char addr);
void ds1302_write_byte(unsigned char addr, unsigned char byte);

